﻿using IOC.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOC.Services
{
    public class HeadPhone:IOC.Interfaces.IHeadPhone
    {
        private IPower _power;
        public HeadPhone(IPower power) {
            Console.Write($"{this.GetType().Name}被构造了");
            this._power = power;
        }
    }
}
